import Vue from "vue";
import App from "./App.vue";
import router from "./router";

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  //VueRouter可以在new Vue的配置中使用router选项,把路由对象$route和路由器对象$router注入到每一个组件实例上
  router: router,
}).$mount("#app");
